
		<style>
			html,
			body {
				background-color: #efeff4;
			}
			
			.mui-bar~.mui-content .mui-fullscreen {
				top: 44px;
				height: auto;
			}
			
			.mui-pull-top-tips {
				position: absolute;
				top: -20px;
				left: 50%;
				margin-left: -25px;
				width: 40px;
				height: 40px;
				border-radius: 100%;
				z-index: 1;
			}
			
			.mui-bar~.mui-pull-top-tips {
				top: 24px;
			}
			
			.mui-pull-top-wrapper {
				width: 42px;
				height: 42px;
				display: block;
				text-align: center;
				background-color: #efeff4;
				border: 1px solid #ddd;
				border-radius: 25px;
				background-clip: padding-box;
				box-shadow: 0 4px 10px #bbb;
				overflow: hidden;
			}
			
			.mui-pull-top-tips.mui-transitioning {
				-webkit-transition-duration: 200ms;
				transition-duration: 200ms;
			}
			
			.mui-pull-top-tips .mui-pull-loading {
				/*-webkit-backface-visibility: hidden;
				-webkit-transition-duration: 400ms;
				transition-duration: 400ms;*/
				margin: 0;
			}
			
			.mui-pull-top-wrapper .mui-icon,
			.mui-pull-top-wrapper .mui-spinner {
				margin-top: 7px;
			}
			
			.mui-pull-top-wrapper .mui-icon.mui-reverse {
				/*-webkit-transform: rotate(180deg) translateZ(0);*/
			}
			
			.mui-pull-bottom-tips {
				text-align: center;
				background-color: #efeff4;
				font-size: 15px;
				line-height: 40px;
				color: #777;
			}
			
			.mui-pull-top-canvas {
				overflow: hidden;
				background-color: #fafafa;
				border-radius: 40px;
				box-shadow: 0 4px 10px #bbb;
				width: 40px;
				height: 40px;
				margin: 0 auto;
			}
			
			.mui-pull-top-canvas canvas {
				width: 40px;
			}
			
			.mui-slider-indicator.mui-segmented-control {
				background-color: #efeff4;
			}
		</style>

		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">订单中心</h1>
		</header>
		<div class="mui-content">

			<div id="slider" class="mui-slider mui-fullscreen" style="height: 50px">
				<div id="sliderSegmentedControl" class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
					<div class="mui-scroll">
						<a class="mui-control-item mui-active" href="#item1mobile" data-wid="all.html">
							全部
						</a>
						<a class="mui-control-item" href="#item2mobile" data-wid="pay.html">
							待支付
						</a>
						<a class="mui-control-item" href="#item3mobile" data-wid="wait.html">
							待接单
						</a>
						<a class="mui-control-item" href="#item4mobile" data-wid="take.html">
							待就位
						</a>
						<a class="mui-control-item" href="#item5mobile" data-wid="firm.html">
							进行中
						</a>
						<a class="mui-control-item" href="#item6mobile" data-wid="grade.html">
							待评价
						</a>
						<a class="mui-control-item" href="#item7mobile" data-wid="done.html">
							已完成
						</a>
						<a class="mui-control-item" href="#item8mobile" data-wid="canc.html">
							已取消
						</a>
					</div>
				</div>

			</div>
			<div class="container">
				<div class="all">
					<div id="pullrefresh" class="mui-content mui-scroll-wrapper order-main" style="top: 83px;">
						<div class="mui-scroll">

							<ul class="mui-table-view">
								<!-- 循环 -->
								{volist name="orders" id="order"}
								<li class="mui-table-view-cell">
									<a class="jump" data-id="{$order.id}">
										<div class="top">
											<span class="type">{$order.service_name}</span>
											<span class="time"><span class="sp-m-r">{$order.create_time|date='Y-m-d H:i:s',###}</span></span>
											<span class="process" id="process{$order.status}">
							{if condition="($order.order_code != '') AND ($order.status == 1)"}
								已接单
							{elseif condition="($order.order_code == '') AND ($order.status == 1)"}
								待就位
							{/if}
							{switch name="order.status"}
								{case value="0"}待接单{/case}
								{case value="3"}已取消{/case}
								{case value="5"}待评价{/case}
								{case value="6"}已完成{/case}
								{case value="9"}待支付{/case}
							{/switch}
							</span>
										</div>
										<div class="center">
											<div class="li o-h">
												<p class="p f-l">订单号：{$order.order_num}</p>
											</div>
											{if condition="$order.end_address != ''"}
											<div class="li o-h">
												{php}
												if($order['type'] == 5){
												$icon = 'icon-dizhi-qu';
												}elseif($order['type'] == 2){
												$icon = 'icon-dizhi-fa';
												}else{
												$icon = 'icon-dizhi-mai';
												}
												{/php}
												<i class="iconfont {$icon} f-l"></i>
												<p class="p">{$order.start_address}</p>
											</div>
											{/if}
											{if condition="$order.end_address != ''"}
											<div class="li o-h">
												{php}
												if($order['type'] == 1 || $order['type'] == 2 || $order['type'] == 5 ){
												$icon = 'icon-dizhi-shou';
												}elseif($order['type'] == 3){
												$icon = 'icon-dizhi-ban';
												}elseif($order['type'] == 4){
												$icon = 'icon-dizhi-pai';
												}
												{/php}
												<i class="iconfont {$icon} f-l"></i>
												<p class="p">{$order.end_address}</p>
											</div>
											{else/}
											<div class="li o-h">
												{php}
												if($order['type'] == 1 || $order['type'] == 2 || $order['type'] == 5 ){
												$icon = 'icon-dizhi-shou';
												}elseif($order['type'] == 3){
												$icon = 'icon-dizhi-ban';
												}elseif($order['type'] == 4){
												$icon = 'icon-dizhi-pai';
												}
												{/php}
												<i class="iconfont {$icon} f-l"></i>
												<p class="p">{$order.start_address}</p>
											</div>
											{/if}
											<div class="li o-h">
												<i class="iconfont icon-dianhua f-l"></i>
												<p class="p f-l">联系人：{$order.content.name} <span class="phone">{$order.content.mobile}</span></p>
											</div>
										</div>
									</a>
									<div class="btm">
										<input type="hidden" class="id" value="{$order.id}">
										<input type="hidden" class="status" value="{$order.status}">
										{switch name="order.status"}
										{case value="0"}
										<button type="button" class="mui-btn mui-btn-grey cancel">取消订单</button>
										{/case}
										{case value="3"}
										<button type="button" class="mui-btn mui-btn-grey delete">删除</button>
										{/case}
										{case value="5"}
										<button type="button" class="mui-btn mui-btn-blue evaluate">去评价</button>
										<button type="button" class="mui-btn mui-btn-grey delete">删除</button>
										{/case}
										{case value="6"}
										<button type="button" class="mui-btn mui-btn-grey delete">删除</button>
										{/case}
										{case value="9"}
										<button type="button" class="mui-btn mui-btn-blue payment">去支付</button>
										<button type="button" class="mui-btn mui-btn-grey cancel">取消订单</button>
										{/case}
										{/switch}
										<p class="f-r p2">订单金额 <span class="black">￥</span><span class="black money">{$order.money}</span></p>
									</div>
								</li>
								{/volist}
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>

		<script src="/assets/js/frontend/order/webviewGroup.js" type="text/javascript" charset="utf-8"></script>
		<script src="/assets/js/frontend/order/index.js" type="text/javascript" charset="utf-8"></script>
		<script>
            mui('.mui-scroll-wrapper').scroll({
                deceleration: 0.0005 //flick 减速系数，系数越大，滚动速度越慢，滚动距离越小，默认值0.0006
            });
		</script>



